﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Threading;
namespace LHWebApp
{
    public partial class SelectOptions : System.Web.UI.Page
    {
        protected UserInfo userInfo;
        protected void Page_Load(object sender, EventArgs e)
        {
            Thread.Sleep(1000);//延迟一秒，等待logOut删除数据，有更好的方法可以修改此处
            userInfo = Session["CurrentUserInfo"] as UserInfo;
            if (userInfo == null)
                Response.Redirect("loginNew.html");
        }
    }
}